#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include"qsort.h"
int main()
{
    stu a[2] = { { 20, "zhang" }, { 10, "li" } };
	int len = sizeof(a) / sizeof(a[0]);
	int width = sizeof(a[0]);
	my_qsort(a, len, width);
	int i = 0;
	for (i = 0; i < len; i++)
	{
		printf("%s ", a[i].name);
	}
	printf("\n");
	return 0;
}